package com.it135.citytraffic.service;

import com.it135.citytraffic.pojo.dto.TrafficInfoAverageDTO;
import com.it135.citytraffic.pojo.dto.TrafficInfoPageQueryDTO;
import com.it135.citytraffic.pojo.entity.TrafficInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.it135.citytraffic.pojo.result.PageResult;
import com.it135.citytraffic.pojo.vo.TrafficInfoAverageVO;
import org.springframework.stereotype.Service;

@Service
public interface ITrafficInfoService extends IService<TrafficInfo> {

    PageResult pageQuery(TrafficInfoPageQueryDTO trafficInfoPageQueryDTO);

    TrafficInfoAverageVO getInfoAvg(TrafficInfoAverageDTO trafficInfoAverageDTO);
}
